package com.sky.service;

import com.sky.dto.*;
import com.sky.entity.Orders;
import com.sky.result.PageResult;
import com.sky.vo.OrderPaymentVO;
import com.sky.vo.OrderStatisticsVO;
import com.sky.vo.OrderSubmitVO;
import com.sky.vo.OrderVO;

public interface OrderService {
    OrderSubmitVO submit(OrdersSubmitDTO ordersSubmitDTO);

    PageResult conditionSearch(OrdersPageQueryDTO ordersPageQueryDTO);


    OrderStatisticsVO statistics();

    OrderPaymentVO payment(OrdersPaymentDTO ordersPaymentDTO) throws Exception;

    void accept(OrdersConfirmDTO ordersConfirmDTO);

    void delivery(Long id);

    void finish(Long id);

    void cancel(OrdersCancelDTO ordersCancelDTO);

    void rejection(OrdersRejectionDTO ordersRejectionDTO);

    Orders detail(Long id);

    PageResult historyOrders(int page, int pageSize, Integer status);

    OrderVO orderdetail(Long id);

    void paySuccess(String orderNumber);

    void repetition(Long id);

    void reminder(Long id);
}


